package com.cyyz.service;

import com.cyyz.entity.Tag;

import java.util.List;

/**
 * @ClassName TagService
 * @Description TODO
 * @Author 简笔轩客
 * @Date 2020/5/31 10:15
 * @Version 1.0
 */
public interface TagService {

    int saveTag(Tag Tag);

    Tag getTag(Long id);

    List<Tag> getAllTag();

    List<Tag> getAllTagAndBlog();

    List<Tag> getTagByString(String ids);

    List<Tag> getTagByBlogId(Long id);

    Tag getTagByName(String name);

    int updateTag(Tag Tag);

    void deleteTag(Long id);
}
